import Vue from "vue";
import Vuex from "vuex";
import getters from "./getters";
import userroles from "./modules/userroles";
import permission from "./modules/permission";
import adminlist from "./modules/adminlist";
import rolelist from "./modules/rolelist";

Vue.use(Vuex);

export default new Vuex.Store({
  modules: {
    userroles,
    permission,
    adminlist,
    rolelist
  },
  getters
});
